<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!-- Spirng MVC配置文件，被firstframe-servlet.xml调用import -->
<beans>
    <bean id="taskMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
            <value>
                /modules/task/task.do=taskManagerController
                /modules/task/taskAttach.do=taskAttachManagerController
                /modules/task/taskOpinion.do=taskOpinionManagerController
                /modules/task/taskUserAttach.do=taskUserAttachManagerController
                /modules/task/taskUser.do=taskUserManagerController
            </value>
        </property>
    </bean>
    
    <bean name="taskManagerController" class="cn.firstsoft.modules.task.web.TaskManagerController"  autowire="byName"/>
    <bean name="taskAttachManagerController" class="cn.firstsoft.modules.task.web.TaskAttachManagerController"  autowire="byName"/>
    <bean name="taskOpinionManagerController" class="cn.firstsoft.modules.task.web.TaskOpinionManagerController"  autowire="byName"/>
    <bean name="taskUserAttachManagerController" class="cn.firstsoft.modules.task.web.TaskUserAttachManagerController"  autowire="byName"/>
    <bean name="taskUserManagerController" class="cn.firstsoft.modules.task.web.TaskUserManagerController"  autowire="byName"/>
    
    <bean name="taskChecker" class ="cn.firstsoft.firstframe.plugins.quartz.service.TaskChecker" init-method="init" destroy-method="destroy" autowire="byName"/>
    
</beans>